<!--
 * @Author: tangcj 572036028@qq.com
 * @Date: 2024-01-25 11:03:45
 * @LastEditors: tangcj 572036028@qq.com
 * @LastEditTime: 2024-02-01 15:50:34
 * @FilePath: /health-gpt-website/src/components/Footer.vue
 * @Description: 文件介绍
 * 
 * Copyright (c) 2024 by ${git_name_email}, All Rights Reserved. 
-->
<template>
  <div class="footer">
    <div class="contentBox">
      <div class="leftBox">
        <div class="leftBoxSon1">
          <div class="son1left">
            <img src="../assets/icon/jkbIcon2.png" alt="" />
          </div>
          <div class="son1Right">
            <div class="son1Right_top">
              <div>
                <img src="../assets/icon/telephone.png" alt="" />
                0571-88886666
              </div>
              <div>
                <img src="../assets/icon/mail.png" alt="" />
                jiankangbao@enjoyor.net
              </div>
            </div>
            <div class="son1Right_bottom">
              <img src="../assets/icon/address.png" alt="" />
              浙江省杭州市富阳区沪瑞线中国智谷富阳园区A1栋
            </div>
          </div>
        </div>
        <div class="leftBoxSon2"></div>
        <div class="leftBoxSon3">
          <div class="bahBox">
            <div class="bah">浙ICP备*********号</div>
            <div>
              {{
                "Copyright © " +
                new Date().getFullYear() +
                " 银江技术股份有限公司 版权所有"
              }}
            </div>
          </div>
        </div>
      </div>
      <div class="rightBox">
        <img src="../assets/bgImg/jkbQRCode.png" alt="" />
        <span>健康宝微信公众号</span>
      </div>
    </div>
    <div class="clickBox2" @click="toTop" v-if="showArrow">
      <div class="arrowDown">
        <img src="../assets/icon/arrow-down-white.png" />
      </div>
    </div>
  </div>
</template>
<script>
export default {
  props: {
    showArrow: false
  },
  data () {
    return {
    }
  },
  methods: {
    toTop () {
      this.$emit('toTop')
    },
  },
}
</script>
<style scoped lang="less">
.footer {
  height: 190px;
  width: 100%;
  background: #0d263b;
  display: flex;
  justify-content: center;
  position: relative;
  .contentBox {
    width: 80%;
    height: 100%;
    display: flex;
    .leftBox {
      flex: 1;
      display: flex;
      flex-direction: column;
      padding: 25px;
      padding-bottom: 0;
      .leftBoxSon1 {
        width: 80%;
        flex: 1;
        display: flex;
        .son1left {
          width: 20%;
          img {
            width: 159px;
          }
        }
        .son1Right {
          flex: 1;
          padding-left: 50px;
          display: flex;
          flex-direction: column;
          justify-content: space-between;
          padding-top: 7px;
          padding-bottom: 30px;
          font-size: 16px;
          font-family: PingFang SC, PingFang SC;
          font-weight: 400;
          color: #ffffff;
          .son1Right_top {
            display: flex;
            justify-content: space-between;
            div {
              display: flex;
              justify-content: center;
              img {
                width: 24px;
                margin-right: 5px;
              }
            }
          }
          .son1Right_bottom {
            display: flex;
            align-items: center;
            img {
              width: 24px;
              margin-right: 5px;
            }
          }
        }
      }
      .leftBoxSon2 {
        width: 80%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
      }
      .leftBoxSon3 {
        height: 40px;
        display: flex;
        justify-content: center;
        margin-top: 20px;
        font-size: 14px;
        font-family: PingFang SC, PingFang SC;
        font-weight: 400;
        color: #a5a5a5;
        .bahBox {
          position: absolute;
          display: flex;
          .bah {
            margin-right: 20px;
          }
        }
      }
    }
    .rightBox {
      width: 170px;
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      img {
        width: 110px;
      }
      span {
        margin-top: 10px;
        font-size: 14px;
        font-family: PingFang SC, PingFang SC;
        font-weight: 400;
        color: #ffffff;
      }
    }
  }
  .clickBox2 {
    width: 40px;
    height: 100px;
    position: absolute;
    top: 30px;
    right: 50px;
    cursor: pointer;
    transform: rotate(180deg);

    .arrowDown {
      position: absolute;
      width: 0;
      height: 0;
      border-right: solid 10px transparent;
      animation: arrow 1.5s linear infinite;
      img {
        width: 30px;
      }
    }
    @keyframes arrow {
      0% {
        bottom: 100px;
        opacity: 1;
      }
      100% {
        bottom: 20px;
        opacity: 0;
      }
    }
  }
}
</style>